package edu.lingnan.rili.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 陈世杰
 * @since 2022-01-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("tb_uploading")
@ApiModel("加分上传材料信息实体类")
public class Uploading implements Serializable {
    /** 驳回 */
    public static final String DISMISSED = "0";
    /** 通过 */
    public static final String EXAMINATION_PASSED = "1";
    /** 未审核 */
    public static final String PENDING_REVIEW = "-1";
    /** 默认审核情况 */
    public static final String DEFAULT_AUDIT = "-1";

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键，以时间戳作为唯一主键")
    @TableId(value = "uploading_id", type = IdType.INPUT)
    private String uploadingId;

    @ApiModelProperty("比赛名称")
    private String gameName;

    @ApiModelProperty("获奖名次")
    private String gameRanking;

    @ApiModelProperty("证明材料")
    private String materials;

    @ApiModelProperty("上传时间")
    private LocalDateTime uploadingTime;

    @ApiModelProperty("加分类型，其他比赛加分为0，其他加分为1")
    private String uploadingType;

    @ApiModelProperty("审核状态，0为驳回，1为通过，-1为未审核，默认-1")
    private String stateId;

    @ApiModelProperty("驳回原因")
    private String stateCause;

    @ApiModelProperty("参考学号")
    private String usersId;

    @ApiModelProperty("加分类别，证书等")
    private String projectType;

}
